import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import gridLayout from "vue-grid-layout";
import store from './store'

const L_S ='k01'

// 恢复仓库
const redata = JSON.parse(localStorage.getItem(L_S))
console.log(redata,'恢复数据')
// 存进仓库
store.commit('saveLayout',redata)
const app = createApp(App);

app.use(gridLayout).use(store).mount('#app')
